<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>JsUnit OnLoad Tests</title>
    <link rel="stylesheet" type="text/css" href="../css/jsUnitStyle.css">
    <script language="JavaScript" type="text/javascript" src="../app/jsUnitCore.js"></script>
     <script language="javascript" type="text/javascript" src="../../../GsocTyniMeTest/jscripts/tiny_mce/tiny_mce.js"></script>
    
    <script language="javascript" type="text/javascript">
	// Notice: The simple theme does not use all options some of them are limited to the advanced theme
	tinyMCE.init({
		mode : "textareas",
		theme : "simple"
	});
</script>
    
    <script language="javascript" type="text/javascript">
	
	function testAssertAlwaysTrue(){
	assertEquals( 'Hello World', tinyMCE.getContent());
	}
	
	function SetContentToEditor(InputText){
	tinyMCE.setContent(InputText);
	}
	function GetContentToEditor(){
	var SavedText;
	SavedText = tinyMCE.getContent();
	return (SavedText)
	}
    </script>
</head>

<body onload="SetContentToEditor('Hello World')">
<h1>JsUnit OnLoad Tests</h1>
<textarea id="elm2" name="elm2" rows="15" cols="32">

</textarea>

<p>This page contains tests for the JsUnit Framework. To see them, take a look at the source.</p>
</body>
</html>
